<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags/table" %>
<%@ taglib prefix="f" tagdir="/WEB-INF/tags/form" %>
<%@ taglib prefix="u" tagdir="/WEB-INF/tags/util" %>
<div class="role_edit_div">
	<div class="role_edit_title_div">
		<h1><u:switch code_false="role.create.title" code_true="role.edit.title" test="${not empty role.id}" /></h1>
	</div>
	<div class="role_edit_form_div">
		<f:wrapper commandName="role" action="save.htm">
			<t:line cssClass="line_form_input">
				<f:input property="name" >
					<c:if test="${not empty unique}"><spring:message code="Role.name.unique"/></c:if>
				</f:input>
			</t:line>
			<t:line cssClass="line_form_textarea">
				<f:textarea property="description" />
			</t:line>
			<t:line cssClass="line_form_buttons">
				<f:buttons submit="true" overview="true"></f:buttons>
			</t:line>
		</f:wrapper>
	</div>
</div>